package com.artpri.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * FreightCondition entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="freight_condition"
    ,catalog="jpw"
)

public class FreightCondition  implements java.io.Serializable {


    // Fields    

     private Integer fcId;
     private Integer ftId;
     private String fcRegion;
     private String freightType;
     private String fcConditionType;
     private String fcConditionValue;


    // Constructors

    /** default constructor */
    public FreightCondition() {
    }

    
    /** full constructor */
    public FreightCondition(Integer ftId, String fcRegion, String freightType, String fcConditionType, String fcConditionValue) {
        this.ftId = ftId;
        this.fcRegion = fcRegion;
        this.freightType = freightType;
        this.fcConditionType = fcConditionType;
        this.fcConditionValue = fcConditionValue;
    }

   
    // Property accessors
    @Id @GeneratedValue(strategy=IDENTITY)
    
    @Column(name="fc_id", unique=true, nullable=false)

    public Integer getFcId() {
        return this.fcId;
    }
    
    public void setFcId(Integer fcId) {
        this.fcId = fcId;
    }
    
    @Column(name="ft_id")

    public Integer getFtId() {
        return this.ftId;
    }
    
    public void setFtId(Integer ftId) {
        this.ftId = ftId;
    }
    
    @Column(name="fc_region", length=2500)

    public String getFcRegion() {
        return this.fcRegion;
    }
    
    public void setFcRegion(String fcRegion) {
        this.fcRegion = fcRegion;
    }
    
    @Column(name="freight_type", length=10)

    public String getFreightType() {
        return this.freightType;
    }
    
    public void setFreightType(String freightType) {
        this.freightType = freightType;
    }
    
    @Column(name="fc_condition_type", length=10)

    public String getFcConditionType() {
        return this.fcConditionType;
    }
    
    public void setFcConditionType(String fcConditionType) {
        this.fcConditionType = fcConditionType;
    }
    
    @Column(name="fc_condition_value", length=20)

    public String getFcConditionValue() {
        return this.fcConditionValue;
    }
    
    public void setFcConditionValue(String fcConditionValue) {
        this.fcConditionValue = fcConditionValue;
    }
   








}